<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: FT
  Date: 2020/10/15
  Time: 18:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生列表</title>
</head>
<body>
    <a href="/student/toAdd">添加</a>
    <table>
        <th>id</th>
        <th>名字</th>
        <th>年龄</th>
        <c:forEach items="${list}" var="stu">
            <tr>
                <td>${stu.stuId}</td>
                <td>${stu.stuName}</td>
                <td>${stu.stuAge}</td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
